package drinkkiosk.buttons;

import javax.swing.ImageIcon;

/**UnlockButton switches the view to the
 * Unlock screen when pressed.
 * @author Charles Ritchea
 */
public final class UnlockButton extends NavigationButton {
	/**UnlockButton() sends "unlock" to the parent constructor, and
	 * sets the JButton to display an ImageIcon from a Resource.
	 * @see ImageIcon
	 * @see Resource
	 */
	public UnlockButton() {
		super("unlock");
		setText(null);
		setIcon(new ImageIcon(getClass().getResource("/drinkkiosk/database-key.png")));
	}
}